package com.manage.dao;

import com.manage.pojo.Room;

import java.sql.SQLException;
import java.util.List;

public interface RoomDao {
    public List<Room> findAll() throws SQLException;
    //删除小区连带删除房间
    public int deleteroomByHid(int hid) throws SQLException;
//删除楼栋连带删除房间
    int deleteroomByBid(int b)throws SQLException;
}
